﻿using System.Collections.Generic;
using System.Diagnostics.Contracts;

namespace Library.Linq
{
    public interface IDistinct<out T>
    {
        [Pure]
        bool IsDistinct(out bool value);
        [Pure]
        IEnumerable<T> Distinct();
        [Pure]
        IEnumerable<T> Distinct(IEqualityComparer<T> comparer);
    }
}
